﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class FeedToERPDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }

    /// <summary>
    /// 投料返回
    /// </summary>
    public class FeedResponseDto
    {
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "ROWS")]

        public List<FeedDetailsResponseDto> ROWS { get; set; }

    }

    public class FeedDetailsResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INTF_STATUS")]
        public string INTF_STATUS { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INTF_MESSAGE")]
        public string INTF_MESSAGE { get; set; }
        /// <summary>
        /// 描述 : 组织编码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_ORGANIZATION_CODE")]
        public string SCUX_ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 : 工单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_WIP_ENTITY_NAME")]
        public string SCUX_WIP_ENTITY_NAME { get; set; }

        /// <summary>
        /// 描述 : 工序 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "OPERATION_SEQ_NUM")]
        public string OPERATION_SEQ_NUM { get; set; }


        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_ITEM_SEGMENT")]
        public string SCUX_ITEM_SEGMENT { get; set; }

        /// <summary>
        /// 描述 : 事务处理类型名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_TRANSACTION_TYPE_NAME")]
        public string SCUX_TRANSACTION_TYPE_NAME { get; set; }

     

        /// <summary>
        /// 描述 : 处理日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_DATE")]
        public string TRANSACTION_DATE { get; set; }



        /// <summary>
        /// 描述 : 计量单位 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_UOM")]
        public string TRANSACTION_UOM { get; set; }

        /// <summary>
        /// 描述 : 仓库编码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SUBINVENTORY_CODE")]
        public string SUBINVENTORY_CODE { get; set; }

        /// <summary>
        /// 描述 : 货位 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOCATOR_NAME")]
        public string LOCATOR_NAME { get; set; }

        /// <summary>
        /// 描述 : 批次号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOT_NUMBER")]
        public string LOT_NUMBER { get; set; }


        /// <summary>
        /// 描述 : 批次对应数量  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_QUANTITY")]
        public string TRANSACTION_QUANTITY { get; set; }


        /// <summary>
        /// 描述 : 用户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "USER_NAME")]
        public string USER_NAME { get; set; }

        /// <summary>
        /// 描述 : 参考 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_REFERENCE")]
        public string TRANSACTION_REFERENCE { get; set; }
        /// <summary>
        /// 描述 : 来源单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_ID")]
        public string TRANSACTION_ID { get; set; }
    }
    /// <summary>
    /// 投料
    /// </summary>
    public class FeedRequestDto
    {
        /// <summary>
        /// 系统编码
        /// </summary>
        [Display(Name = "PV_SOURCE_SYS_CODE")]
        public string PV_SOURCE_SYS_CODE { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        [Display(Name = "PV_BUSINESS_TYPE_CODE")]
        public string PV_BUSINESS_TYPE_CODE { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        [Display(Name = "PV_SYNCHRO_FLAG")]
        public string PV_SYNCHRO_FLAG { get; set; }
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "ROWS")]

        public List<FeedDetailsRequestDto> ROWS { get; set; }

    }

    public class FeedDetailsRequestDto
    {
        /// <summary>
        /// 描述 : 组织编码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_ORGANIZATION_CODE")]
        public string SCUX_ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 : 工单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_WIP_ENTITY_NAME")]
        public string SCUX_WIP_ENTITY_NAME { get; set; }

        /// <summary>
        /// 描述 : 工序 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "OPERATION_SEQ_NUM")]
        public string OPERATION_SEQ_NUM { get; set; }


        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_ITEM_SEGMENT")]
        public string SCUX_ITEM_SEGMENT { get; set; }

        /// <summary>
        /// 描述 : 事务处理类型名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_TRANSACTION_TYPE_NAME")]
        public string SCUX_TRANSACTION_TYPE_NAME { get; set; }



        /// <summary>
        /// 描述 : 处理日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_DATE")]
        public string TRANSACTION_DATE { get; set; }



        /// <summary>
        /// 描述 : 计量单位 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_UOM")]
        public string TRANSACTION_UOM { get; set; }

        /// <summary>
        /// 描述 : 仓库编码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SUBINVENTORY_CODE")]
        public string SUBINVENTORY_CODE { get; set; }

        /// <summary>
        /// 描述 : 货位 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOCATOR_NAME")]
        public string LOCATOR_NAME { get; set; }

        /// <summary>
        /// 描述 : 批次号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOT_NUMBER")]
        public string LOT_NUMBER { get; set; }


        /// <summary>
        /// 描述 : 批次对应数量  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_QUANTITY")]
        public string TRANSACTION_QUANTITY { get; set; }


        /// <summary>
        /// 描述 : 用户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "USER_NAME")]
        public string USER_NAME { get; set; }

        /// <summary>
        /// 描述 : 参考 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_REFERENCE")]
        public string TRANSACTION_REFERENCE { get; set; }
        /// <summary>
        /// 描述 : 来源单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_ID")]
        public string TRANSACTION_ID { get; set; }
    }

}
